import {request} from './request'

// 获取招聘者信息
export function GetBossList(){
    return request({
        url:'/api/boss/boss/getBossList',
    })
}
// 添加招聘者
export function AddBoss(data){
    return request({
        url:'/api/boss/boss/addBoss',
        method:'POST',
        data
    })
}
// 修改招聘者信息
export function UpdateBoss(data){
    return request({
        url:`/api/boss/boss/updateBoss/${data.id}`,
        method:'PUT',
        data
    })
}
// 删除招聘者信息
export function DeleteBoss(id){
    return request({
        url:`/api/boss/boss/deleteBoss/${id}`,
        method:'DELETE'
    })
}